package com.biboheart.adapter.express.support;

import com.biboheart.adapter.express.actuator.GenericActuator;

final class DefActuator implements GenericActuator {
    @Override
    public Object execute(Object source, Object... args) {
        if (null != source) {
            return source;
        }
        for (Object arg : args) {
            if (null != arg) {
                return arg;
            }
        }
        return source;
    }
}
